package com.ce.pms.occupation.dao;

import java.util.List;

import com.ce.pms.base.dao.IPmsBaseDao;
import com.ce.pms.occupation.model.IdentityValidateDO;
import com.ce.pms.occupation.vo.OccupationQueryConditionVO;
import com.sitechasia.webx.core.support.Page;


/**
 * 入伙身份验证DAO
 * @author 王浩羽
 *
 */
public interface IIdentityValidateDao extends IPmsBaseDao<IdentityValidateDO> 
{

	/**
	 * 功能描述: 查找身份验证列表  <br>
	 * @param queryCondition
	 * @return
	 * Create author: 王浩羽 <br>
	 * Create on:Dec 30, 2008  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	public Page queryIdentityValidateList(OccupationQueryConditionVO queryCondition);

	/**
	 * 功能描述: 根据房号ID查询对象 <br>
	 * @param houseId
	 * @return
	 * Create author: 王浩羽 <br>
	 * Create on:Dec 31, 2008  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	public IdentityValidateDO findUniqueByHouseId(Long houseId);
	
	/**
	 * 功能描述: 判断是否容许解除管理房和产权房之间的关系<br>
	 * 解除的前提条件：该管理房下的所有产权房其入伙收费项目都是已收或免收 <br>
	 * @param virtualHouseId
	 * @param houseId
	 * @return
	 * Create author: 王浩羽 <br>
	 * Create on:Jan 14, 2009  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	public boolean isAllowReleaseRealAndVirtual(Long virtualHouseId,List<Long> houseId); 
}
